package me.leiusual.sharing.api.model.storeproductquery

/**
 * author: leiusual
 * create on: 2019-07-26
 * description:
 */
class StoreProductQuery {

  data class Request(
      val categoryId: Long?,
      val clientId: String,
      val pageIndex: Long,
      val pageSize: Int,
      val queryKey: String?,
      val storeAreaId: Long?,
      val storeId: Long?
  )

  data class Response(
      val clientId: String,
      val storeId: Long,
      val storeAreaId: Long,
      val categoryId: Long,
      val queryKey: String?,
      val pageIndex: Long,
      val pageSize: Long,
      val totalPages: Long,
      val totalElements: Long,
      val productList: List<Product>
  )
}